#ifndef BIMOSCONTROL_H
#define BIMOSCONTROL_H

#include <QMainWindow>
#include "ui_bimoscontrol.h"





/**
  * our own stuff
 */
#include "View/view.h"
#include "Connectivity/connectivity.h"
#include "Wizard/newproject.h"
#include "Wizard/calibration.h"
#include "Control/config.h"


namespace Ui {
class BimosControl;
}

class BimosControl : public QMainWindow
{
    Q_OBJECT
    
public:
    explicit BimosControl(QWidget *parent = 0);
    ~BimosControl();
    NewProject *wizard;
    Calibration *wizardCal;
    View *bGraphics;
    Connectivity *bHandler;
    Config *config;



    
private:
    Ui::BimosControl *ui;
    void setupGraphics();
    void setupBimosBox();
    void initializePackages();



    // load config file
    QByteArray fileLine;
    QList<QByteArray> qByteArrayList;


public slots:
    void showWizard();
    void showCalibration();
    void drawVolt(int conNumber, float value);
    void toggleConnector(bool checked);



};




#endif // BimosControl_H
